package com.city.project.factory;

import com.city.project.service.IRoomService;
import com.city.project.service.IStudentService;
import com.city.project.service.IUserService;
import com.city.project.service.impl.RoomServiceImpl;
import com.city.project.service.impl.StudentServiceImpl;
import com.city.project.service.impl.UserServiceImpl;

public class ServiceFactory {
     public static IUserService getUserService() {
        return new UserServiceImpl();
     }

    public static IRoomService getRoomService() {
        return new RoomServiceImpl();
    }

    public static IStudentService getStudentService() {
        return new StudentServiceImpl();
    }

}
